﻿using System.Web;
using TallComponents.Web.Pdf;
using TallComponents.Web.Storage;

namespace TallComponents.Web
{
   public partial class WebForm1 : System.Web.UI.Page
   {
      protected override void OnLoad( System.EventArgs e )
      {
         base.OnLoad( e );

         if ( !string.IsNullOrEmpty( Request.Params[ "doc" ] ) )
         {
            pdfViewer.StorageKey = Request.Params[ "doc" ];
         }
      }
   }
}
